package com.platform.qujia.dao;

import com.platform.qujia.pojo.Oil;
import com.platform.qujia.pojo.StaOilGun;
import com.platform.qujia.pojo.Station;
import com.platform.qujia.pojo.vo.StaffVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @date 2023/8/8
 */
public interface StaffMapper {

    List<StaOilGun> queryStationOilGunList(Long stationId);

    Oil queryOilList(Long oilId);

    List<StaffVO> queryStaffList(@Param("stationId") Long stationId, @Param("roleId") Integer roleId, @Param("userIds") List<String> userIds);

    StaffVO getStaffInfo(@Param("userId") Long userId, @Param("roleId") Integer roleId);

    Station getStation(Long stationId);

}
